package test.my.com.myapplicationtest.SocketClient;

import java.io.Serializable;

/**
 * Author : Cooper
 * Time : 2017/10/31  15:10
 * Description : 坐标点实体类
 */

public class ActionPosition implements Serializable {

    public static final int ACTION_DOWN = 0;
    public static final int ACTION_UP = 1;
    public static final int ACTION_MOVE = 2;

    public float positionX;
    public float positionY;
    public int actionType;
    public int from;
    public int to;

    public ActionPosition() {
    }

    public ActionPosition(float positionX, float positionY, int actionType, int from, int to) {
        this.positionX = positionX;
        this.positionY = positionY;
        this.actionType = actionType;
        this.from = from;
        this.to = to;
    }
}
